package com.sky.service;


import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeEditDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import com.sky.vo.EmployeeLoginVO;
import com.sky.vo.EmployeePageQueryVO;

import java.util.List;

public interface EmployeeService {

    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    /*
     * 修改密码
     * */
    void updateEmloyeePassword(EmployeeEditDTO employeeEditDTO);

    /*
    * 新增员工
    * */
    void save(EmployeeDTO employeeDTO);

    void updateStatus(Integer status, Long id);

    EmployeePageQueryVO list(EmployeePageQueryDTO employeePageQueryDTO);

    Employee getEmployeeById(String id);

    void update(EmployeeDTO employeeDTO);
}
